home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 5823 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: inforamp.net!ts26-13
  2. From: rmorin@inforamp.net (Randy Charles Morin)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Help defining (using) two parameters of a function call.
  5. Date: Tue, 06 Feb 96 22:26:50 GMT
  6. Organization: MiddleWorld SoftWare
  7. Message-ID: <4f8k9d$ffl@sam.inforamp.net>
  8. References: <4eu7vc$qlo@morgoth.sfu.ca>
  9. NNTP-Posting-Host: ts26-13.tor.inforamp.net
  10. X-Newsreader: News Xpress Version 1.0 Beta #4
  11.  
  12. In article <4eu7vc$qlo@morgoth.sfu.ca>,
  13.    rschiema@news.sfu.ca (Ryan Bradley Schieman) wrote:
  14. >
  15. >Help!! I am making a call to an FTP.dll (am using BC++ and WFW3.11). I am 
  16. >just trying to log on to a site but can't seem to get the parameters 
  17. straight.
  18. >
  19. >
  20. >The call is FtpLogin(LPSTR szHost,LPSTR szUser,LPSTR szPass,
  21. >                     HWND hWnd, WMSG wMsg)
  22. >
  23.  
  24. HWND is a handle to a (Microsft Windows) window.  Associated with TWindow 
  25. class in Borland C++.  WMSG is the defined message type you want sent to the 
  26. window.  Basically, the function wants to know which messages queue you want 
  27. the FTP messages sent to and what message type you want sent.  This way your 
  28. program can simply process the FTP messages the same way it processes 
  29. windowing messages.  I'm not familiar with the FTP.dll, so my word is not law.
  30.  
  31. Agrivar
  32.